<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8" isELIgnored="false"%>
<%@ include file="/WEB-INF/views/shared/taglib.jsp"%>
<div class="row">
	<div class="col-md-12 col-sm-12 col-lg-12 col-xs-12 text-right">
		<t-auth:roleButton />
	</div>
</div>
<script type="text/javascript">

function selData(){
	var id=getKeyId();
	var type=$(".cntable.table>tbody>tr.select-tr").attr("data-type");
	var operateId=$(".cntable.table>tbody>tr.select-tr").attr("data-operateId");
	if(isEditor(id)){
		if(type=="returnCargo"){
			top.openModal("/billing/returnCargo/returnCargoDetailed?key="+operateId+"&type="+"check","returnCargo_form","退欠货订单详情-查看",1200,540);
		}else if(type=="fahuo"){
			top.openModal("/stock/outStock/detailed?key="+operateId+"&type="+"check","outStock_form","出库详情-查看",1200,450);
		}else{
			$.showTips("此次记录无法查看！",1000,"warning");
		}
	}
}

function exportData(){
	var url=$.getVirtualPath()+"/billing/billingRecord/exportExcel";
	var data=$("form:first").serialize();
	var cachedId=$.getText(url,data);
	downloadExcel(cachedId);
}


</script>
<%@ include file="/WEB-INF/views/shared/base/scripts/limitless/default/notifications.jsp"%>
